package cn.mapper;

import java.util.List;

import cn.pojo.Provider;

public interface ProviderMapper {

	List<Provider> getProviderLike(String proName, Integer rowNum, int pagecount);

	int totalCount(String proName);

	int proRemove(String id);

	Integer[] deleteBatch(String[] id);

	Provider getProByProCode(String proCode);

	Provider getProByPhone(String proPhone);

	Provider getProByName(String proName);

	Provider getProByFax(String proFax);

	int toAddPro(Provider p);

	List<Provider> getProByid(String[] id);

	Provider getProById(String id);

	Integer[] updatePro(Provider p);

}
